import os

from setuptools import setup, find_packages

version = '0.1.0rc5'

def read_file(name):
	return open(os.path.join(os.path.dirname(__file__), name)).read()

readme = read_file('README.txt')
changes = read_file('CHANGES.txt')

setup(name='vanillafriends',
	version=version,
	description="Tools helping building extension for Vanilla (PHP forum)",
	long_description='\n\n'.join([readme, changes]),
	classifiers=[
		'Development Status :: 3 - Alpha',
		'License :: OSI Approved :: BSD License',
		'Operating System :: MacOS :: MacOS X',
		'Operating System :: Microsoft :: Windows',
		'Operating System :: POSIX',
		],
	package_dir={'': 'src'},
	packages=find_packages('src'),
	data_files=[('JAR',('src/JAR/yuicompressor.jar',))],
	keywords='',
	author='Damien Lebrun',
	author_email='dinoboff@hotmail.com',
	url='http://code.google.com/p/vanilla-friends/',
	license='BSD',
	zip_safe=False,
	install_requires=['Mock','wikir'],
	entry_points={
		'console_scripts': [
			'vf-manager = vanillafriends.manage:main',
			],
		},
)